gdk: Remove deprecated gdk_get_display
authorRico Tzschichholz <ricotz@ubuntu.com>
Mon, 24 Oct 2016 08:21:49 +0000 (10:21 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Mon, 24 Oct 2016 08:33:17 +0000 (10:33 +0200)
docs/reference/gdk/gdk4-sections.txt
gdk/gdk.c
gdk/gdkmain.h

index 6a480fc08218883defbbed2ff40d7f0622f320ae..59808a0f0b85caabdd52b227bc68dd03042753a2 100644 (file)
@@ -16,9 +16,6 @@ gdk_set_allowed_backends
 gdk_get_program_class
 gdk_set_program_class
 
-<SUBSECTION>
-gdk_get_display
-
 <SUBSECTION>
 gdk_flush
 
index 22d7841815a6a7430073001691b11b2de1fdf293..e7e1b3c3bf473ac7a671ec9596e97959bbbdf9fe 100644 (file)
--- a/gdk/gdk.c
+++ b/gdk/gdk.c
@@ -401,24 +401,6 @@ gdk_parse_args (int    *argc,
   GDK_NOTE (MISC, g_message ("progname: \"%s\"", g_get_prgname ()));
 }
 
-/**
- * gdk_get_display:
- *
- * Gets the name of the display, which usually comes from the
- * `DISPLAY` environment variable or the
- * `--display` command line option.
- *
- * Returns: the name of the display.
- *
- * Deprecated: 3.8: Call gdk_display_get_name (gdk_display_get_default ()))
- *    instead.
- */
-gchar *
-gdk_get_display (void)
-{
-  return g_strdup (gdk_display_get_name (gdk_display_get_default ()));
-}
-
 /**
  * gdk_get_display_arg_name:
  *
index 74e9951f745450aaeefc5f77450744d368d32897..e39dc4aed086d57e8c26e34a260413f02ceade0a 100644 (file)
@@ -78,9 +78,6 @@ void                           gdk_error_trap_pop_ignored (void);
 GDK_AVAILABLE_IN_ALL
 const gchar *         gdk_get_display_arg_name (void);
 
-GDK_DEPRECATED_IN_3_8_FOR(gdk_display_get_name (gdk_display_get_default ()))
-gchar*        gdk_get_display        (void);
-
 
 GDK_AVAILABLE_IN_ALL
 void gdk_set_double_click_time (guint msec);